﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Information/Information.master" AutoEventWireup="true" CodeBehind="StuInformationEdit.aspx.cs" Inherits="Web.Information.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<li><a href="StuInformation.aspx">个人信息</a></li>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div style="padding:20px">
        <table>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="学号：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:Label ID="Label_stdid" runat="server" Text="" CssClass="ContentLabel"></asp:Label>
            </td>
            
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="班级：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:Label ID="Label_classid" runat="server" Text="" CssClass="ContentLabel"></asp:Label>
            </td>
            
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="毕业年份：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:Label ID="Label_graduateyear" runat="server" Text="" CssClass="ContentLabel"></asp:Label>
            </td>
            
        </tr>
        <tr>
            <td>
                 <asp:Label ID="Label4" runat="server" Text="姓名：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox_stdname" runat="server" Text="" 
                    CssClass="ContentTextBox" ToolTip="三到十个汉字"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="TextBox_stdname">*</asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                    ValidationExpression="^[\u4e00-\u9fa5]{0,5}$" 
                    ControlToValidate="TextBox_stdname" ErrorMessage="姓名格式不正确">*</asp:RegularExpressionValidator>
            </td>
            <td rowspan="7">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="邮箱：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox_stdmail" runat="server" Text="" 
                    CssClass="ContentTextBox" ToolTip="例：c@c.com"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="TextBox_stdmail">*</asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                    ControlToValidate="TextBox_stdmail" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ErrorMessage="邮箱输入不正确">*</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Text="性别：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownList_gender" runat="server">
                   
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Text="政治面貌：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                 <asp:TextBox ID="TextBox_stdpolicy" runat="server" Text="" 
                     CssClass="ContentTextBox" ToolTip="例：群众"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ControlToValidate="TextBox_stdpolicy">*</asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                    ControlToValidate="TextBox_stdpolicy" 
                    ValidationExpression="^[\u4e00-\u9fa5]{2}$" ErrorMessage="政治面貌格式不正确">*</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" Text="兴趣爱好：" CssClass="ContentLabel"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox_stdhobby" runat="server" Text="" CssClass="ContentTextBox"></asp:TextBox>
            </td>
            
        </tr>
        </table>
        <asp:ImageButton ID="ImageButton_Edit" runat="server" 
            ImageUrl="~/img/Control/Edit.gif" onclick="ImageButton_Edit_Click" />
        <asp:ImageButton ID="ImageButton_Cancel" runat="server" 
            ImageUrl="~/img/Control/Cancel.gif" onclick="ImageButton_Cancel_Click" 
            CausesValidation="False"/>
        <asp:Label ID="Label_result" runat="server" Text="" CssClass="Label_ReturnInfo"></asp:Label>
    </div>
</asp:Content>
